package com.lottery.material.entity.circle;

import com.lottery.material.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Description：圈子公告信息表
 * Created by 朱正磊 on 2019-04-09 10:20
 */
@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "material_circle_notice_info")
public class CircleNoticeInfo extends BaseEntity {

    private static final long serialVersionUID = -6978396191191319182L;

    @Column(columnDefinition = "int(11) not null comment '圈子id（material_circle_info表主键）'")
    private Integer circleId;

    @Column(columnDefinition = "varchar(100) comment '公告标题'")
    private String noticeTitle;

    @Column(columnDefinition = "varchar(500) comment '公告内容'")
    private String noticeContent;

    @Column(columnDefinition = "int(1) default '1' comment '是否删除（1：否；2：是）'")
    private Integer isDelete;

}
